package cc.wanforme.st.server.base.service;

import cc.wanforme.st.server.base.entity.Role;

import org.springframework.lang.Nullable;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanne
 * @since 2022-03-03
 */
public interface IRoleService extends IService<Role> {

	void saveVo(Role role);
	
	void updateVo(Role role);
	
	void deleteVo(String roleCode);
	
	PageInfo<Role> searchRoles(int page, int pageSize, @Nullable String name);
		
}
